/* 项目页样式 */

.content-container .bug-data {
    margin-top: 20px;
    width: 100%;
    height: 510px;
    border-radius: 8px;
    position: relative;
}

.bug-data .intro {
    position: absolute;
    width: 40%;
    height: 100%;
    border-radius: 8px;
    background-color: #fff;
}

.bug-data .bug-list {
    position: absolute;
    right: 0;
    width: 57%;
    height: 100%;
    border-radius: 8px;
    background-color: #fff;
}


/* 表格美化 */

.bug-list .bug-table {
    /* 重置表格样式 */
    border-collapse: collapse;
    border: 0;
    text-align: center;
    width: 100%;
    margin: 0px auto;
    margin-top: 0%;
    /* border: 1px solid #fff; */
    /* border-top: 0px; */
    /* 固定表格 */
    table-layout: fixed;
}

.bug-list .bug-table tr td {
    height: 50px;
    width: 80px;
    font-size: 14px;
    /* 文字自动换行 */
    word-break: break-all;
    word-wrap: break-word;
}

.width-bg {
    height: 50px;
    width: 100px;
    font-size: 14px;
    /* 文字自动换行 */
    word-break: break-all;
    word-wrap: break-word;
}

.width-sm {
    height: 50px;
    width: 40px;
    font-size: 14px;
    /* 文字自动换行 */
    word-break: break-all;
    word-wrap: break-word;
}

.bug-list .bug-table thead tr .odd {
    color: white;
    font-weight: 500;
    background-color: #88d5b9;
}

.bug-list .bug-table thead tr .even {
    color: white;
    background-color: #88d5b9;
}

.view-btn {
    height: 25px;
    width: 40px;
    color: white;
    font-size: 13px;
    background-color: #abcc89;
    border: 0px;
    border-radius: 3px;
}

.delete-btn {
    height: 25px;
    width: 40px;
    color: white;
    font-size: 13px;
    background-color: red;
    border: 0px;
    border-radius: 3px;
}

.edit-btn {
    height: 25px;
    width: 40px;
    color: white;
    font-size: 13px;
    background-color: #4c1f24;
    border: 0px;
    border-radius: 3px;
}

.next-page {
    position: absolute;
    right: 40%;
    height: 30px;
    width: 50px;
    border: 0px;
    color: black;
    margin-top: 2%;
    font-size: 13px;
    background-color: #f3f3f5;
    border-radius: 3px;
}

.pre-page {
    position: absolute;
    height: 30px;
    width: 50px;
    left: 40%;
    border: 0px;
    color: black;
    margin-top: 2%;
    font-size: 13px;
    background-color: #f3f3f5;
    border-radius: 3px;
}


/* 左侧项目信息 */

.intro {
    overflow-x: auto;
}

.intro .info-text-padding {
    padding-left: 30px;
}

.intro .info-name {
    align-items: center;
    width: 100%;
    margin-top: 20px;
}

.info-name text h3 {
    display: inline-block;
}

.info-name div {
    height: 20px;
    font-size: 13px;
    line-height: 20px;
    color: grey;
}

.open-text {
    width: 36px;
    height: 18px;
    display: inline-block;
    background-color: #88d5b9;
    justify-content: center;
    text-align: center;
    margin-left: 20px;
    border-radius: 2px;
    line-height: 18px;
    /* display: none; */
}

.open-text a {
    color: white;
    font-size: 12px;
}

.online-text {
    width: 36px;
    height: 18px;
    display: inline-block;
    background-color: #fcc307;
    justify-content: center;
    text-align: center;
    margin-left: 6px;
    border-radius: 2px;
    line-height: 18px;
}

.online-text a {
    color: white;
    font-size: 12px;
}

.intro .info-intro {
    align-items: center;
    width: 100%;
    margin-top: 20px;
}

.info-intro .info-intro-padding {
    padding-right: 15px;
    padding-left: 30px;
    font-size: 15px;
}

.intro .info-stick {
    align-items: center;
    width: 100%;
    margin-top: 20px;
}

.info-stick .stick-text-padding {
    display: inline-block;
    padding-right: 30px;
    padding-left: 30px;
}

.stick-text-padding .stick-tag {
    height: 15px;
    font-size: 8px;
    color: white;
    margin-left: 5px;
    padding: 4px;
    margin-top: 5px;
    display: inline-block;
    background-color: grey;
    box-shadow: 0 0 5px grey;
    justify-content: center;
    text-align: center;
    border-radius: 2px;
    line-height: 15px;
    opacity: 0.9;
}


/* --------------- */

.update-project-btn {
    width: 70px;
    height: 30px;
    margin-left: 44%;
    margin-top: 3z0px;
    margin-bottom: 40px;
    background-color: #88d5b9;
    box-shadow: 0 0 3px #88d5b9;
    color: white;
    border-radius: 5px;
    border: 0px;
}

.add-bug-btn {
    width: 70px;
    height: 30px;
    margin-left: 45%;
    margin-top: 30px;
    margin-bottom: 40px;
    background-color: #88d5b9;
    box-shadow: 0 0 3px #88d5b9;
    color: white;
    border-radius: 5px;
    border: 0px;
}


/* 滚动条样式 */

.intro::-webkit-scrollbar {
    /*整体样式*/
    width: 8px;
    height: 1px;
}

.intro::-webkit-scrollbar-thumb {
    /*滚动条*/
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
    background-image: linear-gradient(to top, #a8edea 0%, #fed6e3 100%);
}

.intro::-webkit-scrollbar-track {
    /*滚动条背景*/
    /* -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2); */
    border-radius: 10px;
    background: #fff;
}


/* ----修改项目信息弹出框-------- */

.popform,
.view-popform,
.bug-popform {
    width: 40%;
    height: 650px;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 100;
    display: none;
}


/* 表单上部分 */

.popform .updiv,
.view-popform .updiv,
.bug-popform .updiv {
    width: 100%;
    height: 8%;
    box-shadow: 0 -5px 10px rgba(77, 76, 76, 0.5);
    background-color: #fff;
    border-radius: 8px 8px 0 0;
    position: relative;
}

.popform .updiv .close,
.view-popform .updiv .close,
.bug-popform .updiv .close {
    width: 30px;
    height: 30px;
    position: fixed;
    top: 2%;
    right: 2%;
    border: 0;
}

.popform .updiv .tips-text,
.confirm .confirm-top .tips-text,
.view-popform .updiv .tips-text,
.bug-popform .updiv .tips-text {
    color: #88d5b9;
    font-weight: 500;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}


/* 表单下部分 */

.popform .downdiv,
.view-popform .downdiv,
.bug-popform .downdiv {
    width: 100%;
    height: 92%;
    /* padding: 10px; */
    box-shadow: 0 6px 10px rgba(77, 76, 76, 0.5);
    background-color: #fff;
    border-radius: 0 0 8px 8px;
    overflow: auto;
    border: 0;
    position: relative;
}


/* 滚动条样式 */

.downdiv::-webkit-scrollbar {
    /*整体样式*/
    width: 8px;
    height: 1px;
}

.downdiv::-webkit-scrollbar-thumb {
    /*滚动条*/
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
    background-image: linear-gradient(to top, #a8edea 0%, #fed6e3 100%);
}

.downdiv::-webkit-scrollbar-track {
    /*滚动条背景*/
    /* -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2); */
    border-radius: 10px;
    background: #fff;
}


/* 1. 项目名称 */

.popform .downdiv .p-name,
.view-popform .downdiv .p-name,
.bug-popform .downdiv .p-name {
    height: 40px;
    width: 100%;
    padding-left: 40px;
    top: 5%;
    line-height: 30px;
    position: absolute;
}

.popform .downdiv .p-name #pname,
.view-popform .downdiv .p-name #pname,
.bug-popform .downdiv .p-name #pname {
    display: inline-block;
    line-height: 30px;
    height: 30px;
    width: 55%;
    border-radius: 5px;
    border: 1px solid #959597;
    padding-left: 10px;
    margin-left: 10px;
    font-size: 15px;
    cursor: pointer;
}

.popform .downdiv .p-name .p-name-msg,
.view-popform .downdiv .p-name .p-name-msg,
.bug-popform .downdiv .p-name .p-name-msg {
    color: black;
    font-size: 12px;
    font-weight: 500;
    margin-left: 10px;
    display: none;
}


/* 项目简介 */

.popform .downdiv .p-intro,
.view-popform .downdiv .p-intro,
.bug-popform .downdiv .p-intro {
    height: 170px;
    width: 100%;
    padding-left: 40px;
    top: 15%;
    position: absolute;
}

.popform .downdiv .p-intro #intro,
.view-popform .downdiv .p-intro #intro,
.bug-popform .downdiv .p-intro #intro {
    border: 0;
    border-radius: 5px;
    background-color: rgba(241, 241, 241, .98);
    width: 51%;
    height: 140px;
    padding: 10px;
    margin-left: 14px;
    resize: none;
    position: absolute;
}

#intro::-webkit-scrollbar {
    /*整体样式*/
    width: 8px;
    height: 1px;
}

#intro::-webkit-scrollbar-thumb {
    /*滚动条*/
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
    background-image: linear-gradient(to top, #a8edea 0%, #fed6e3 100%);
}

#intro::-webkit-scrollbar-track {
    /*滚动条背景*/
    /* -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2); */
    border-radius: 10px;
    background: #fff;
}


/* 上线地址 */

.popform .downdiv .p-online,
.view-popform .downdiv .p-online,
.bug-popform .downdiv .p-online {
    height: 40px;
    width: 100%;
    padding-left: 40px;
    top: 46%;
    line-height: 30px;
    /* background-color: red; */
    position: absolute;
}

.popform .downdiv .p-online #ponline,
.view-popform .downdiv .p-online #ponline,
.bug-popform .downdiv .p-online #ponline {
    display: inline-block;
    line-height: 30px;
    height: 30px;
    width: 55%;
    border-radius: 5px;
    border: 1px solid #959597;
    padding-left: 10px;
    margin-left: 10px;
    font-size: 15px;
    cursor: pointer;
}

.popform .downdiv .p-online .p-online-msg,
.view-popform .downdiv .p-online .p-online-msg,
.bug-popform .downdiv .p-online .p-online-msg {
    color: black;
    font-size: 12px;
    font-weight: 500;
    margin-left: 10px;
    display: none;
}


/* 技术栈 */

.popform .downdiv .p-stick,
.view-popform .downdiv .p-stick,
.bug-popform .downdiv .p-stick {
    height: 40px;
    width: 100%;
    padding-left: 40px;
    top: 55%;
    line-height: 30px;
    /* background-color: red; */
    position: absolute;
}

.popform .downdiv .p-stick #pstick,
.view-popform .downdiv .p-stick #pstick,
.bug-popform .downdiv .p-stick #pstick {
    display: inline-block;
    line-height: 30px;
    height: 30px;
    width: 55%;
    border-radius: 5px;
    border: 1px solid #959597;
    padding-left: 10px;
    margin-left: 25px;
    font-size: 15px;
    cursor: pointer;
}

.popform .downdiv .p-stick .p-stick-msg,
.view-popform .downdiv .p-stick .p-stick-msg,
.bug-popform .downdiv .p-stick .p-stick-msg {
    color: black;
    font-size: 12px;
    font-weight: 500;
    margin-left: 10px;
    display: none;
}


/* 开源标识 */

.popform .downdiv .p-open,
.view-popform .downdiv .p-open,
.bug-popform .downdiv .p-open {
    height: 40px;
    width: 100%;
    padding-left: 40px;
    top: 63%;
    line-height: 30px;
    /* background-color: red; */
    position: absolute;
}

.popform .downdiv .p-open #open-flag,
.view-popform .downdiv .p-open #open-flag,
.bug-popform .downdiv .p-open #open-flag {
    margin-left: 10px;
}


/* 开源地址 */

.popform .downdiv .p-opensource,
.view-popform .downdiv .p-opensource,
.bug-popform .downdiv .p-opensource {
    height: 40px;
    width: 100%;
    padding-left: 40px;
    top: 71%;
    line-height: 30px;
    /* background-color: red; */
    /* display: none; */
    position: absolute;
}

.popform .downdiv .p-opensource #popensource,
.view-popform .downdiv .p-opensource #popensource,
.bug-popform .downdiv .p-opensource #popensource {
    display: inline-block;
    line-height: 30px;
    height: 30px;
    width: 55%;
    border-radius: 5px;
    border: 1px solid #959597;
    padding-left: 10px;
    margin-left: 10px;
    font-size: 15px;
    cursor: pointer;
}

.popform .downdiv .p-opensource .p-opensource-msg,
.view-popform .downdiv .p-opensource .p-opensource-msg,
.bug-popform .downdiv .p-opensource .p-opensource-msg {
    color: black;
    font-size: 12px;
    font-weight: 500;
    margin-left: 10px;
    display: none;
}

.bug-popform .downdiv .p-solver,
.view-popform .downdiv .p-solver {
    height: 170px;
    width: 100%;
    padding-left: 40px;
    top: 48%;
    position: absolute;
}

.bug-popform .downdiv .p-solver #intro,
.view-popform .downdiv .p-solver #intro {
    border: 0;
    border-radius: 5px;
    background-color: rgba(241, 241, 241, .98);
    width: 51%;
    height: 140px;
    padding: 10px;
    margin-left: 14px;
    resize: none;
    position: absolute;
}

.downdiv .reset-btn {
    display: inline;
    height: 30px;
    width: 60px;
    border: 0px solid;
    color: black;
    border-radius: 5px;
    position: absolute;
    bottom: 12%;
    left: 35%;
}

.downdiv .submit-btn {
    display: inline;
    height: 36px;
    width: 40%;
    background-color: #88d5b9;
    color: white;
    font-size: 15px;
    border: 0px solid;
    border-radius: 5px;
    position: absolute;
    bottom: 7%;
    left: 31%;
    transform: translate(-7%, -31%);
}

.submit-btn:hover {
    box-shadow: 0 0 5px #88d5b9;
}

.reset-btn:hover {
    box-shadow: 0 0 5px #efefef;
}


/* -----遮罩层------ */

.all-shadow {
    width: 100%;
    height: 100%;
    background-color: black;
    position: fixed;
    top: 0;
    left: 0;
    opacity: 0.6;
    display: none;
}


/* 信息提示:添加成功、添加失败 */


/* 成功 */

.message-true {
    width: 100px;
    height: 30px;
    position: fixed;
    line-height: 30px;
    text-align: center;
    background-color: #abcc89;
    border-radius: 3px;
    top: 40%;
    left: 50%;
    transform: translate(-40%, -50%);
    z-index: 100;
    display: none;
}

.message-true .true-info {
    color: white;
    font-size: 15px;
}


/* 失败 */

.message-flase {
    width: 100px;
    height: 30px;
    position: fixed;
    line-height: 30px;
    text-align: center;
    background-color: #cf4813;
    border-radius: 3px;
    top: 40%;
    left: 50%;
    transform: translate(-40%, -50%);
    z-index: 100;
    display: none;
}

.message-flase .flase-info {
    color: white;
    font-size: 15px;
}


/* confrim弹出框美化 */

.confirm {
    position: fixed;
    width: 30%;
    height: 34%;
    top: 40%;
    left: 50%;
    transform: translate(-40%, -50%);
    border-radius: 8px;
    display: none;
    /* background-color: #fff; */
}

.confirm .confirm-top {
    width: 100%;
    height: 15%;
    background-color: #fff;
    border-radius: 5px 5px 0 0;
    position: relative;
}

.confirm .confirm-content {
    width: 100%;
    height: 65%;
    background-color: #fff;
    position: relative;
}

.confirm-content .content-text {
    position: absolute;
    margin: 20px;
}

.confirm .confirm-bottom {
    width: 100%;
    height: 20%;
    background-color: #fff;
    border-radius: 0 0 5px 5px;
    border: 0px;
    position: relative;
}

.confirm-bottom .confirm-btn {
    width: 60px;
    height: 30px;
    border-radius: 5px;
    position: absolute;
    top: 50%;
    right: 25%;
    transform: translate(-50%, -50%);
    background-color: #f43e06;
    border: 0px;
    color: white;
}

.confirm-bottom .cancel-btn {
    width: 60px;
    height: 30px;
    border-radius: 5px;
    margin-right: 20px;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translate(-50%, -50%);
    background-color: #add5a2;
    border: 0px;
    color: white;
}


/* 移动端适应 */


/* 当页面宽度小于765px时执行代码 */

@media(max-width:1250px) {
    .bug-list .bug-table {
        /* thead和tbody水平排列 */
        display: flex;
    }
    .bug-table thead tr {
        /* 让thead下的tr中的每一个元素都是弹性布局 */
        display: flex;
        /* 改变主轴的方向，让弹性项目垂直排列 */
        flex-direction: column;
    }
    .bug-table tbody {
        display: flex;
        overflow: auto;
    }
    .bug-list .bug-table tbody tr {
        /* 让thead下的tr中的每一个元素都是弹性布局 */
        display: flex;
        /* 改变主轴的方向，让弹性项目垂直排列 */
        flex-direction: column;
    }
    .bug-table tr td {
        text-align: center;
        padding: 3px;
    }
    /* 去除每一行最后一个单元格的下边框 */
    .bug-table thead tr td:last-child,
    .bug-table tbody tr td:last-child {
        border-bottom: 0;
    }
    /* 让tbody下的为奇数的每一行颜色为#f8f8f8 */
    .bug-table tbody tr:nth-child(odd) {
        background-color: #fff;
    }
    .delete-btn {
        height: 25px;
        width: 40px;
        color: white;
        font-size: 13px;
        background-color: red;
        border: 0px;
        border-radius: 3px;
        margin-top: 2px;
    }
    .view-btn {
        height: 25px;
        width: 40px;
        color: white;
        font-size: 13px;
        background-color: #abcc89;
        border: 0px;
        border-radius: 3px;
    }
    .edit-btn {
        height: 25px;
        width: 40px;
        color: white;
        font-size: 13px;
        background-color: #4c1f24;
        border: 0px;
        border-radius: 3px;
    }
    .next-page {
        position: absolute;
        right: 35%;
        height: 30px;
        width: 50px;
        border: 0px;
        color: black;
        margin-top: 1%;
        font-size: 13px;
        background-color: #f3f3f5;
        border-radius: 3px;
    }
    .pre-page {
        position: absolute;
        height: 30px;
        width: 50px;
        left: 35%;
        border: 0px;
        color: black;
        margin-top: 1%;
        font-size: 13px;
        background-color: #f3f3f5;
        border-radius: 3px;
    }
}